#pragma once

class CFIFO
{
public:
	CFIFO(void);
public:
	~CFIFO(void);

	//Variables
private:
	int * Q;
	int m_QueueLength;
	int m_QueueHead;
	int m_QueueNext;
	static const int QUEUEINCREMENT=128;
public:
	int m_MaxQueueLength;	

//Methods
public:
	bool CreateQueue(void);
//	bool DestroyQueue(void);
	bool EnQueue(int e);
	bool DeQueue(int * e);
};
